g++ -std=c++11 midiconv.cpp -o midiconv